import axios from 'axios'

export  const http = axios.create({
  // baseURL: 'http://192.168.10.167:8089/',
  baseURL:  process.env.VUE_APP_API_URL || 'http://www.huitengit.com/jdpth/',
  timeout: 1000000,
  // baseURL: 'http://192.168.10.167:8089/',
  // upload: 'http://localhost:3000/upload',
  // assetsURL: 'http://192.168.10.167:8089/HJResourse/VillagecadresImages'
})

export const _http = axios.create({
  // baseURL: 'http://192.168.10.167:8089/',
  baseURL:  process.env.VUE_APP_API_URL || 'http://182.92.233.162/',
  timeout: 1000000,
  // baseURL: 'http://192.168.10.167:8089/',
  // upload: 'http://localhost:3000/upload',
  // assetsURL: 'http://192.168.10.167:8089/HJResourse/VillagecadresImages'
})
